/*
 *  KeyboardButtonController.h
 *  CocoaSynth
 *
 *  Created by Jérémy Brault on 03/03/10.
 *  Copyright 2010 None. All rights reserved.
 *
 */

#import <Cocoa/Cocoa.h>

@class KeyboardViewController;

/*!
 @class			KeyboardButtonController
 @abstract		Controleur d'un bouton du clavier.
 */
@interface KeyboardButtonController : NSButton {
	float noteFrequency;
	KeyboardViewController* keyboardViewController;
}

/*!
 @abstract		La fr&eacute;quence associ&eacute;e au bouton.
 @param			aNoteFrequency la fr&eacute;quence associ&eacute;e au bouton.
 */
@property (assign) float noteFrequency;

/*!
 @abstract		Le controleur du clavier.
 @discussion	Controleur utilis&eacute; lorsqu'on clique sur le bouton.
 @param			aKeyboardViewController Le controleur du clavier
 */
@property (assign) KeyboardViewController* keyboardViewController;

@end